<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登陆</title>
    <link rel="icon" href="images/touxiang.ico" type="image/x-icon">
    <link rel="stylesheet" href="./page/style.css">
    <script type="text/javascript">
        function displaySubMenu(li) {
            var subMenu = li.getElementsByTagName("ul")[0];
            subMenu.style.display = "block";
        }

        function hideSubMenu(li) {
            var subMenu = li.getElementsByTagName("ul")[0];
            subMenu.style.display = "none";
        }
    </script>
</head>

<body>
    <img src="./images/fantang.png" alt="" id="logo">
    <div id=“container”>
    </div>
    <div id="container">
        <div id="content">
            <div id="begin">
                <h1>登录</h1>
 
                    <h1>用户名</h1>
                    <form id="form">
                    <textarea rows="2" cols="30" name="question"></textarea>
                    <h1>密码</h1>
                    <textarea rows="2" cols="30" name="question"></textarea>
        </form>
                </div>

                    </div>
                </p>
                <div align="center" id="header">
                    <div id="anniu"><a onClick="submitToNextPage()">登录</a></div>

            </div>
        </div>
    </div>
</body>

</html>
<script>
      function submitToNextPage() {
          alert("登录成功")
          window.location = "index.html";
      }
</script>